package com.riant.day04.demo2;

import java.util.Comparator;

/**
 * @Classname MyCompator
 * @Description TODO
 * @Date 2021/3/12 0:41
 * @Created by 张斌
 */
public class MyCompator implements Comparator<String> {
    @Override
    public int compare(String o1, String o2) {
        return o1.compareTo(o2);
    }
}
